package com.itheima.service.mongo;

import com.itheima.domain.mongo.Comment;
import com.itheima.domain.mongo.FocusUser;
import com.itheima.domain.mongo.Video;
import com.itheima.vo.PageBeanVo;

/**
 * @author Guanxing
 * @date 2021/9/27
 */
public interface VideoService {

    //查询小视频列表
    PageBeanVo findSmallVideos(Integer pageNum, Integer pageSize, Long loginUserId);

    //保存视频
    void saveVideo(Video video);

    //查询视频列表
    PageBeanVo findVideoByUid(Integer pageNumber, Integer pageNumber1, Long uid);

    //根据id查询视频
    Video findVideoById(String videoId);
}
